namespace RefactoringFowlerNET
{
	/// <summary>
	/// Rental represents a customer renting a movie.
	/// </summary>
	public class Rental
	{
	    /* Constructor */
		public Rental(Movie movie, int daysRented)
		{
			Movie = movie;
			DaysRented = daysRented;
		}

		/* Properties */
	    public int DaysRented { get; private set; }

	    public Movie Movie { get; private set; }
	}
}
